package com.c.ctgproject.entity.doorkeeper

/**
 *作者:LiBW
 *创建日期: 2020/9/16
 *描述: 门卫 配件出场 entity
 */
class DoorkeeperPartOutEntity {
    /**
     * status : 0
     * msg : null
     * data : {"total":6,"list":[{"partsSalesOrderId":null,"partsSalesNo":"PJ20090001","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"你个大头鬼","partsPrice":null,"partsNumber":4,"partsWeight":6},{"partsName":"饿的","partsPrice":null,"partsNumber":5,"partsWeight":122}]},{"partsSalesOrderId":null,"partsSalesNo":"PJ20090002","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"看看","partsPrice":null,"partsNumber":2,"partsWeight":25}]},{"partsSalesOrderId":null,"partsSalesNo":"PJ20090003","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"排气管","partsPrice":null,"partsNumber":2,"partsWeight":2.5}]},{"partsSalesOrderId":null,"partsSalesNo":"PJ20090006","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"车屁股","partsPrice":null,"partsNumber":10,"partsWeight":10},{"partsName":"车门","partsPrice":null,"partsNumber":4,"partsWeight":4}]}],"pageNum":1,"pageSize":20,"size":4,"startRow":1,"endRow":4,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     */
    var status = 0
    var msg: Any? = null
    var data: DataBean? = null
    var isSuccess = false

    class DataBean {
        /**
         * total : 6
         * list : [{"partsSalesOrderId":null,"partsSalesNo":"PJ20090001","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"你个大头鬼","partsPrice":null,"partsNumber":4,"partsWeight":6},{"partsName":"饿的","partsPrice":null,"partsNumber":5,"partsWeight":122}]},{"partsSalesOrderId":null,"partsSalesNo":"PJ20090002","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"看看","partsPrice":null,"partsNumber":2,"partsWeight":25}]},{"partsSalesOrderId":null,"partsSalesNo":"PJ20090003","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"排气管","partsPrice":null,"partsNumber":2,"partsWeight":2.5}]},{"partsSalesOrderId":null,"partsSalesNo":"PJ20090006","createPersonId":1430,"salesPersonName":"多角色","partsInfos":[{"partsName":"车屁股","partsPrice":null,"partsNumber":10,"partsWeight":10},{"partsName":"车门","partsPrice":null,"partsNumber":4,"partsWeight":4}]}]
         * pageNum : 1
         * pageSize : 20
         * size : 4
         * startRow : 1
         * endRow : 4
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total = 0
        var pageNum = 0
        var pageSize = 0
        var size = 0
        var startRow = 0
        var endRow = 0
        var pages = 0
        var prePage = 0
        var nextPage = 0
        var isIsFirstPage = false
            private set
        var isIsLastPage = false
            private set
        var isHasPreviousPage = false
        var isHasNextPage = false
        var navigatePages = 0
        var navigateFirstPage = 0
        var navigateLastPage = 0
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null

        fun setIsFirstPage(isFirstPage: Boolean) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean) {
            isIsLastPage = isLastPage
        }

        class ListBean {
            /**
             * partsSalesOrderId : null
             * partsSalesNo : PJ20090001
             * createPersonId : 1430
             * salesPersonName : 多角色
             * partsInfos : [{"partsName":"你个大头鬼","partsPrice":null,"partsNumber":4,"partsWeight":6},{"partsName":"饿的","partsPrice":null,"partsNumber":5,"partsWeight":122}]
             */
            var partsSalesOrderId: Int = 0
            var partsSalesNo: String? = null
            var createPersonId = 0
            var salesPersonName: String? = null
            var partsInfos: List<PartsInfosBean>? = null

            class PartsInfosBean {
                /**
                 * partsName : 你个大头鬼
                 * partsPrice : null
                 * partsNumber : 4
                 * partsWeight : 6.0
                 */
                var partsName: String? = null
                var partsPrice: Any? = null
                var partsNumber = 0
                var partsWeight = 0.0

            }
        }
    }
}